import OverView from './component/OverView'
import { Row, Col } from 'antd'
import PowerView from './component/PowerView'
import Enterprise from './component/Enterprise'
import LeaseChart from './component/LeaseChart'
import IdleView from './component/IdleView'
import CarInfo from './component/CarInfo'

function Dashboard() {
  return (
    <div className="main-wrap">
      <OverView />
      <Row gutter={16} className="mt-10">
        <Col span={12}>
          <PowerView />
        </Col>
        <Col span={12}>
          <Enterprise />
        </Col>
      </Row>
      <Row gutter={16} className="mt-10">
        <Col span={12}>
          <LeaseChart />
        </Col>
        <Col span={6}>
          <IdleView />
        </Col>
        <Col span={6}>
          <CarInfo />
        </Col>
      </Row>
    </div>
  )
}

export default Dashboard
